#include<stdio.h>
void inverse(int n);
int main()
{
    int n,num;
    scanf("%d",&n);
    inverse(n);
    return 0;
}
void inverse(int n)
{
    int num;
    if(n>1)
    {
        scanf("%d",&num);
        inverse(n-1);
        printf("%d ",num);
    }
    else if(n==1)
    {
        scanf("%d",&num);
        printf("%d ",num);
    }
}
